using System;
using System.Collections.Generic;
using System.Text;
using System;
using System.Collections.Generic;
using System.Text;
using DTO;
using DAL;

namespace BUS
{
    public class tbtkdnBUS
    {
        public static void Insert(tbtkdnDTO tkdn)
        {
            tbtkdnDAL tbtkdnDAL = new tbtkdnDAL();
            tbtkdnDAL.Insert(tkdn);
        }
        public static void Update(tbtkdnDTO tkdn)
        {
            tbtkdnDAL tbtkdnDAL = new tbtkdnDAL();
            tbtkdnDAL.Update(tkdn);
        }
        public static void Delete(float iD)
        {
            tbtkdnDAL tbtkdnDAL = new tbtkdnDAL();
            tbtkdnDAL.Delete(iD);
        }
        public static tbtkdnDTOColection GET(string Where, int PageIndex, int PageSize,
                                        string OrderBy, string OrderDirection,
                                        out int TotalRecords)
        {
            tbtkdnDAL tbtkdnDAL = new tbtkdnDAL();
            return tbtkdnDAL.GET(Where, PageIndex, PageSize,
                            OrderBy, OrderDirection, out TotalRecords);
        }
    }
}
